package com.kikcn.jpa.repo;

import com.kikcn.jpa.entity.Privilege;
import com.kikcn.jpa.entity.Resource;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

/**
 * Created by Yubin Lai on 2017/8/14.
 */
@Repository
public interface ResourceRepository extends CrudRepository<Resource, Integer>  {

    public Resource findByUrl(String url);
}
